package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the ueobligatoire database table.
 * 
 */
@Entity
@NamedQuery(name="Ueobligatoire.findAll", query="SELECT u FROM Ueobligatoire u")
public class Ueobligatoire implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int idUEObligatoire;

	//bi-directional many-to-one association to Ue
	@ManyToOne
	@JoinColumn(name="idUE")
	private Ue ue;

	public Ueobligatoire() {
	}

	public int getIdUEObligatoire() {
		return this.idUEObligatoire;
	}

	public void setIdUEObligatoire(int idUEObligatoire) {
		this.idUEObligatoire = idUEObligatoire;
	}

	public Ue getUe() {
		return this.ue;
	}

	public void setUe(Ue ue) {
		this.ue = ue;
	}

}